package com.javaclimb.music.mapper;

import com.javaclimb.music.po.Song;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SongMapper {
    /**
     * 获取歌曲总数
     * @return
     */
    public int getSongNum();

    /**
     * 获取所有歌曲信息
     * @return
     */
    public List<Song> getSongList();
}
